<script src="<?php echo $this->webroot;?>libs/wysiwyg/ckeditor/ckeditor.js"></script>
<script>
jQuery(document).ready(function(){
  jQuery('.sidebar-right li a').on('click', function(){
     $(this).parent().addClass("active");
	  $(this).parent().siblings().removeClass("active");
  });  
});
</script>
<div class="cate-infor">
	<div class="block-title">
		<h3>Thêm trợ giúp</h3>
		</div>
	<div class="block-content">
		<div class="conten">
				<div class="row-fluid">
					<?php echo $this->Form->create("News");?>
						<section class="body">
							<div class="body-inner">
								<div class="control-group">
									<label class="control-label"><?php echo __("title");?></label>
									<div class="controls">
										<?php
											echo $this->Form->input("name", array(
												"div" => array(
													"title" => "Tiêu đề"
												),
												"label" => false,
												"class" => "span12"
											));
										?>
									</div>
								</div>
							
								<div class="control-group">
									<label class="control-label">Nội dung</label>
									<div class="controls">
										<?php
											echo $this->Form->input("content", array(
												"div" => array(
													"class" => "span12",
													"title" => "Nội dung"
												),
												"label" => false,
												"class" => "ckeditor"
											));							
										?>
									</div>
								</div>
								

								<div class="control-group">
									<label class="control-label">Trạng thái</label>
									<div class="controls">
										<?php
											echo $this->element("libs/status");
										?>
									</div>
								</div>

								<div class="control-group">
									<label class="control-label">Hiện trên trang chủ</label>
									<div class="controls">
										<?php
											echo $this->Form->checkbox("home", array(
												"div" => array(
													"title" => "Hiện trên trang chủ"
												),
												"label" => false,
											));
										?>
									</div>
								</div>

								<!-- Form Action -->
								<div class="btn-dialog" style="margin-bottom:20px;">
									<?php echo $this->Form->end("Thêm");?>
								</div>
							</div>
						</section>   
				</div>

		</div>
		
	</div>
</div>         
		
